package pro;

import java.io.IOException;
import java.util.Properties;

public class PathUtil {

	public static Properties prop = new Properties();
	public static String ip = null;
	
	static {
		try {
			prop.load(PathUtil.class.getResourceAsStream("/jdbc.properties"));
			AppendToFile.append("prop-------------->" + prop);
		} catch (IOException e) {
			e.printStackTrace();
		}
		ip = prop.getProperty("dev_ip");
	}
	
	public static Properties getProperties() {
		return prop;
	}
}
